<div style="line-height:30px;font-size:14px;">
	<iframe name="iframe1" src="" frameborder="0" style="display:none" ></iframe>
	<form name="form1" method="post" action="__URL__/proupfile" target="iframe1"  onsubmit="javascript:return docheck();" id="form1" enctype="multipart/form-data">
		<div style="float:left;">
			<input type="hidden" name="MAX_FILE_SIZE" value="5000000" />
			<p>名称：<input name="txtName" id="txtName" style="width:200px;" type="text" maxlength="40" />
				<span id="fname">*</span>
			</p>
			<p>附件：<input name="fup[]"  type="file" />
				<span class="fileinfo">附件最大为2M</span>
				<input type="hidden" name="upfilename" class="upfilename" />
			</p>
			<p><strong style=" font-size:12px;">允许文件上传类型：<span style='color:red;font-size:12px;'>rar,doc,txt,pdf.</span></strong></p>
			<p id="upres"></p>
			<p><input name="btnSubmit" value="提交" type="submit" style="width:50px;height:30px;border:1px solid #333;"> &nbsp;&nbsp;&nbsp;<button style="width:50px;height:30px;border:1px solid #333;" class="closeload" >关闭</button></p>
		</div>
	</form>
	<script type="text/javascript">
		function docheck(){
			if(($("#txtName").val())==""){
				$("#fname").html("<span style='color:red;font-size:12px;'>名称必须填写</span>");
				return false;
			}
			$("#upres").html("<div style=\"text-align:center;\"><img src=\"__IMG__/loadingAnimation.gif\" /></div>");
		}
	</script>
</div>